import Vue from 'vue'
import VueRouter from 'vue-router'

//测试
import Test from '../components/Test.vue'

Vue.use(VueRouter)

const routes = [{
		path: '/',
		redirect: "/test"
	},
	{
		path: '/test',
		component: Test
	}
]

const router = new VueRouter({
	routes
})

export default router
